SureCart\Models\Checkout S

Total Complexity 48
Dependencies 7
Dependents 8
Total lines 393
Lines of code 201
Logical lines of code 95
Comment lines 117
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
declineUpsell()
S
50 6 29
offerUpsell()
S
51 6 26
offerBump()
S
51 6 26
getHumanDiscountAttribute()
S
61 5 12
manuallyPay()
S
52 4 25
cancel()
S
52 4 25
getHumanDiscountWithDurationAttribute()
S
57 4 16
setWriteAttributes()
S
70 2 6
getBillingAddressDisplayAttribute()
S
71 2 6
__construct()
S
76 1 4
setLineItemsAttribute()
S
79 1 3
getIPAddress()
S
78 1 3
update()
S
77 1 4
create()
S
77 1 4
setRecommendedBumpsAttribute()
S
79 1 3
setCurrentUpsellAttribute()
S
79 1 3
setUpsellFunnelAttribute()
S
79 1 3
getShippingAddressRequiredAttribute()
S
78 1 3